#pragma once

#include "RTPDecoderHandle.hpp"

class RtpDecoder;

namespace Hi {
class RtpPacket;
class RTPDecoderHandle;
class RTPDecoderWrapper {
public:
	RTPDecoderWrapper();
	virtual ~RTPDecoderWrapper();
public:
	void Start(RTPDecoderHandle& handle, uint32_t width, uint32_t height, void* option);
	void Decode(RtpPacket* packet);
	void Stop();
private:
	RtpDecoder* impl{nullptr};
};
}